package day02;

import javax.sound.midi.Soundbank;
import java.util.zip.GZIPOutputStream;

public class HomeWork {
    public static void main(String[] args) {
/*        int a;
        int b, c, d;
        int e = 250;
        int f;
        f = 250;
        int g = 5;
        int h = g + 10;
        System.out.println(h);
        System.out.println("h");
        g = g + 10;
        System.out.println(g);
        int a1, a_5$, _3c, $_b;
        int aa = 5;
        int age;
        int score, myScore, myJavaScore;
        */
/*        int a=25;
        System.out.println(5/2);
        System.out.println(2/5);
        System.out.println(5/2.0);
        int c = Integer.MAX_VALUE;
        c+=1;
        System.out.println(c);*/

/*        long a = 25L;
        long c = 10000000000L;
        long d = 1000000000 * 2 * 10L;
        System.out.println(d);
        long e = 1000000000 * 3 * 10L;
        System.out.println(e);
        long f = 1000000000L * 3 * 10;
        System.out.println(f);*/

/*        double a = 3.14159;
        double pi = Math.PI;
        System.out.println(pi);
        float b = (float) pi;
        double c = 3.0, d = 2.9;
        System.out.println(c - d);*/

 /*       boolean flag1=true;
        boolean flag2=false;
        char c1='女';
        char c2='f';
        char c3='6';
        char c4='*';
        char c5='\\';
        System.out.println(c5);*/

        int a = 5;
        long b = a;
        int c = (int) b;

        long d = 5;
        double e = 5;

        long f = 10000000000L;
        int g = (int) f;
        System.out.println(g);
        double h = 25.987;
        int i = (int) h;
        System.out.println(i);

        byte b1 = 5;
        byte b2 = 6;
        byte b3 = (byte) (b1 + b2);
        System.out.println(2 + 2);
        System.out.println(2 + '2');
        System.out.println('2' + '2');
    }
}
